<%@page import="qualomelhor.server.DAO"%>
<%@page import="qualomelhor.database.LinkBlobImage"%>
<%@page import="java.io.OutputStream"%>
<%  
	Long idLinkBlob = Long.parseLong(request.getParameter("idLinkBlob"));
	DAO d = new DAO();
	LinkBlobImage l = d.getLinkBlobImage(idLinkBlob);

	OutputStream outStream = response.getOutputStream();  
  	outStream.write(l.getImage().getBytes());  
  	outStream.flush();
  	outStream.close();
%>